package com.applet.mallappletbackstage.service;

import com.applet.mallappletbackstage.entity.SkillsCertificate;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author X
 * @since 2020-08-17
 */
public interface SkillsCertificateService extends IService<SkillsCertificate> {

    /***
     * 查询该用户的技能证书
     * @param openid
     * @return
     */
    List<SkillsCertificate> getSkills(String openid);

    /***
     * 删除职业证书
     * @param id
     * @return
     */
    int deleteSkill(String id);
}
